package service;



import dao.BookDao;

import java.util.Scanner;

/**
 * @Description 图书的service层
 * @Author hhy
 */
public class BookService {
    Scanner sc  = new Scanner(System.in);
    BookDao bookDao = new BookDao();

    /**
     * 查看所有的数据
     */
    public void lookAllBooks(){
        bookDao.lookAllBooks();
    }

    public boolean JS(int num, int bookId) {
       return bookDao.JS(num,bookId);
    }
}
